<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2019/4/12
  Time: 15:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" +
            request.getServerName() + ":" +
            request.getServerPort() + path + "/";
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <center>
        <form method="post" action="subway?opr=modify">
        <table>
            <tr>
                <td colspan="2">修改地铁路线
                    <input type="hidden" name="id" value="${subwayInfo.id}">
                </td>
            </tr>
            <tr>
                <td>线路名称:</td>
                <td><input type="text" name="subwayname" value="${subwayInfo.subwayname}"></td>
            </tr>
            <tr>
                <td>始发站:</td>
                <td><input type="text" name="startstation" value="${subwayInfo.startstation}"></td>
            </tr>
            <tr>
                <td>终点站:</td>
                <td><input type="text" name="endstation" value="${subwayInfo.endstation}"></td>
            </tr>
            <tr>
                <td>途经站点:</td>
                <td><input type="text" name="stationnum" value="${subwayInfo.stationnum}"></td>
            </tr>
            <tr>
                <td>首车时间:</td>
                <td><input type="text" name="starttime" value="${subwayInfo.starttime}"></td>
            </tr>
            <tr>
                <td>票价（元）:</td>
                <td><input type="text" name="price" value="${subwayInfo.price}"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="修改">
                    <a href="index.jsp">返回首页</a>
                </td>
            </tr>
        </table>
        </form>
    </center>
</body>
</html>
